package com.ruoyi.mall.app.service;

import com.ruoyi.mall.common.domain.DtsGoodsProduct;
import com.ruoyi.mall.common.domain.DtsSeckillBatch;

import java.util.List;

public interface DtsGoodsProductService {
    // 根据商品id查询商品规格
    public List<DtsGoodsProduct> selectGoodsProductCountByGoodsId(int goodsId);

    // 根据商品id查询商品库存
    int selectGoodsProductStock(int goodsId);

    public List<DtsGoodsProduct> selectSeckillAndProduct(DtsSeckillBatch dtsSeckillBatch);
}
